<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>表达式输出Scriptlet</title>
</head>
<body>
<table border="1">
    <%
        for (int x = 1; x <= 9; x++) {
    %>
    <tr>
        <%
            for (int y = 1; y <= x; y++) {
        %>
        <td><%=x%> * <%=y%> = <%=x * y%>
        </td>
        <%
            }
            for (int y = 1; y <= 9 - x; y++) {
        %>
        <td>&nbsp;</td>
        <%
            }
        %>
    </tr>
    <%
        }
    %>
</table>

<%!
    public static final String MESSAGE = "www.yootk.com";
%>
<h1><%=MESSAGE%></h1>
<h1><%="Hello EveryOne"%></h1>
</body>
</html>
